//
//  DeviceListCell.h
//  efairy
//
//  Created by 李锋 on 2019/1/11.
//  Copyright © 2019年 East. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DeviceListModel.h"

@interface DeviceListCell : UITableViewCell
@property (strong, nonatomic)  UIImageView *deviceIcon;//设备图标
@property (strong, nonatomic)  UILabel *deviceName;//设备名字
@property (strong, nonatomic)  UIImageView *deviceOnlineIcon;//是否在线
@property (strong, nonatomic)  UILabel *deviceOnline;//是否在线
@property (strong, nonatomic)  UILabel *deviceState;//设备状态
@property (strong, nonatomic)  UILabel *deviceUUIDTitle;//设备uuid title
@property (strong, nonatomic)  UILabel *deviceUUID;//设备uuid
@property (strong, nonatomic)  UILabel *signalLevel;//信号强度
@property (strong, nonatomic)  UIImageView *signalLevelIcon;//信号强度


+(NSString *)getDeviceState:(int) state;
+(int)getDeviceStateColor:(int) state;
- (void)setModelData:(DeviceListItem *)item;

@end


